$OpenBSD: patch-ui_views_views_delegate_cc,v 1.3 2015/07/23 13:44:04 robert Exp $
--- ui/views/views_delegate.cc.orig.port	Wed Jul 15 22:30:11 2015
+++ ui/views/views_delegate.cc	Wed Jul 22 12:53:12 2015
@@ -51,7 +51,7 @@ HICON ViewsDelegate::GetDefaultWindowIcon() const {
 bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const {
   return false;
 }
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
 gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const {
   return NULL;
 }
@@ -91,7 +91,7 @@ std::string ViewsDelegate::GetApplicationName() {
   return program.BaseName().AsUTF8Unsafe();
 }
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
 scoped_refptr<base::TaskRunner>
     ViewsDelegate::GetTaskRunnerForAuraLinuxAccessibilityInit() {
   return nullptr;
